package com.mall.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.math.BigDecimal;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * sku信息
 *
 * @author chenshun
 * @email sunlightcs@gmail.com
 * @date 2022-08-24 16:47:36
 */
@Data
@TableName("xy_sku_info")
public class SkuInfo implements Serializable {
  private static final long serialVersionUID = 1L;

  /**
   * skuId
   */
  @TableId(value = "sku_id" ,type = IdType.AUTO)
  private Long skuId;
  /**
   * spuId
   */
  private Long spuId;
  /**
   * sku名称
   */
  private String skuName;
  /**
   * sku介绍描述
   */
  private String skuDesc;
  /**
   * 品牌id
   */
  private Long brandId;
  /**
   * 默认图片
   */
  private String skuDefaultImg;
  /**
   * 标题
   */
  private String skuTitle;
  /**
   * 副标题
   */
  private String skuSubtitle;
  /**
   * 价格
   */
  private Double price;
  /**
   * 销量
   */
  private Long saleCount;
  /**
   * 库存
   */
  private Integer skuStock;

}
